set(COMPONENT_NAME webclient)

set(srcs
    "webclient.c"
)

set(inc
    "${CMAKE_CURRENT_SOURCE_DIR}/"
)
# 添加头文件路径
include_directories(${inc})

# 定义组件库的名称和源文件
add_library(${COMPONENT_NAME} ${srcs})

# 链接其他库到组件库
target_link_libraries(${COMPONENT_NAME} EasyLogger)


target_include_directories(${COMPONENT_NAME} PUBLIC ${inc})